package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 发票申请
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class InvoiceApplyBean extends RootBean {
    private static final long serialVersionUID = 1L;


    /**
     * 订单编号 order_code
     */
    private Long orderCode;

    /**
     * 用户id user_id
     */
    private Integer userId;

    /**
     * 支付单ID pay_order_id
     */
    private Integer payOrderId;

    /**
     * 支付编号 pay_order_number
     */
    private String payOrderNumber;

    /**
     * 发票申请金额 invoice_apply_amount
     */
    private BigDecimal invoiceApplyAmount;

    /**
     * 发票类型  1:电子发票 2：纸质发票 invoice_type
     */
    private Integer invoiceType;

    /**
     * 发票抬头类型 1：个人 2：企业单位 invoice_title_type
     */
    private Integer invoiceTitleType;

    /**
     * 发票状态   0:开票中(已申请)  1:已开票 status
     */
    private Integer status;

    /**
     * 备注 remark
     */
    private String remark;

    /**
     * 电子邮箱 email
     */
    private String email;

    /**
     * 业务类型（1：订阅，2：专属） business_type
     */
    private Integer businessType;

    /**
     * 申请时间
     */
    private LocalDateTime applyTime;

}